@import './../common.less';
@import './../lxa.less';

.page-wrapper{
  min-height: calc(100vh - 2.66rem);
  // banner图
  .goods-main-info {
    width: 100%;
    background-color: #fff;

    .goods-imgs {
      width: 100%;
      height: 20rem;

      .banners {
        height: 20rem;
      }

      .slide-image {
        width: 100%;
        height: 20rem;
      }
    }
    .count-down {
      height: 1.6rem;
      display: flex;
      justify-content: space-between;
      background-color: @orange;

      .title {
        width: 4.8rem;
        height: 1.6rem;
        line-height: 1.6rem;
        text-align: center;
        color: #fff;
        position: relative;
        font-size: 12px;

        .title-bg {
          position: absolute;
          left: 0;
          width: 4.8rem;
          height: 1.6rem;
        }
        .title-name {
          position: relative;
          z-index: 2;
        }
      }
      .right {
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 12px;
        padding-right: 0.8rem;
        .icon-count {
          height: 0.69rem;
          width: 0.69rem;
          margin-right: 0.26rem;
        }
        .count-title {
          display: flex;
        }
      }
    }
    .goods-title {

      .goods-price {
        display: flex;
        justify-content: space-between;

        .price {
          vertical-align: bottom;
          .main-price {
            display: inline;
            font-size: 30px;
            color: @orange;

            .icon-rmb {
              display: inline;
              font-size: 15px;
            }
          }
          .sub-price {
            display: inline;
            font-size: 15px;
            color: @lightBlack;
            text-decoration: line-through;
            margin-left: 0.26rem;
          }
        }
        .store {
          display: inline;
          font-size: 15px;
          line-height: 50px;
          color: @lightBlack;
          vertical-align: bottom;
        }
      }
      .goods-name {
        font-size: 16px;
        line-height: 24px;
        color: #1f1f1f;
      }
    }
  }
  // 规格
  .sku-info {
    height: 1.33rem;
    background-color: #fff;
    margin-top: 0.26rem;
    line-height: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .sku-title {
      font-size: 15px;
      color: @black;
    }
    .select {
      display: flex;
      align-items: center;
      color: @black;
    }
  }

  .fix-footer {
    position: fixed;
    bottom: 0;
    height: 2.66rem;
    width: 100%;
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    z-index: 9;

    .handle-btns {
      flex: 1;
      display: flex;
      background-color: @orange;
      color: #fff;
      font-size: 15px;
      align-items: center;
      justify-content: center;

      &.disabled-btn {
        background-color: #ccc;
      }
    }
  }
}

